﻿using MediatR;
using S.Authorization.Domain.Model.Organization;
using S.Authorization.Read.API.Dto;

namespace S.Authorization.Read.API.Application.Command.OrganizationCommand
{
    /// <summary>
    /// 单位表（企业，集团，系统）
    /// </summary>
    public class BusinessGetCommand:IRequest<List<GetBusinessDto>>
    {
    }
    /// <summary>
    /// 单位表返填
    /// </summary>
    public class BussinessGetByIdCommand : IRequest<BusinessModel>
    {
        public int UserId { get; set; }
    }
}
